<?php date_default_timezone_set('PRC'); ?>
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Patients Management System">
    <meta name="author" content="O2O Medical R&D Group">

    <title>病人管理系统</title>

    <link rel="shortcut icon" href="<?php echo Yii::app()->request->baseUrl; ?>/images/logo_icon-36-36.ico" />

    <!-- Bootstrap Core CSS -->
<!--    <link rel="stylesheet" href="--><?php //echo Yii::app()->request->baseUrl; ?><!--/css/bootstrap.min.css">-->

    <!-- Easy UI -->
    <?php // Change Theme and keep in Cookie
        $easyuiThemeName="metro-blue";
        if(empty($_COOKIE['easyuiThemeName'])){
            setcookie('easyuiThemeName',$easyuiThemeName);
        }else{
            $easyuiThemeName=$_COOKIE['easyuiThemeName'];
        }
    ?>
    <link id="easyuiTheme" rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/themes/<?php echo $easyuiThemeName;?>/easyui.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/themes/icon.css">
    <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/themes/color.css">

    <!-- Custom CSS -->
    <link href="<?php echo Yii::app()->request->baseUrl; ?>/css/o2opms.css" rel="stylesheet">

    <!-- Custom Fonts -->
<!--    <link href="--><?php //echo Yii::app()->request->baseUrl; ?><!--/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">-->


    <!-- jQuery -->
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.min.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery.cookie.js"></script>

    <!-- Easy UI -->
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/jquery.easyui.min.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/datagrid-detailview.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/jquery.edatagrid.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/datagrid-bufferview.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/datagrid-scrollview.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/easyui/datagrid-filter.js"></script>

    <!-- slide widget -->
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/slideWidget/custom.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/slideWidget/jquery.fitvids.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/slideWidget/modernizr.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/plugins/slideWidget/superfish.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <!--    <script src="--><?php //echo Yii::app()->request->baseUrl; ?><!--/js/bootstrap.min.js"></script>-->

    <!-- Custom Theme JavaScript -->
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/o2opms.js"></script>

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body class="easyui-layout">

    <?php echo $content;?>

</body>

</html>

